	<div id="zizhi">
		<div class="box740">
			<div class="box740_t">
				<div class="box740_t_l">
					<div class="box740_t_l_l">公司资质</div>					
				</div>
				<div class="box740_t_r"><a href="<?{url url='/qualification/'}?>"><img src="<?{$arrGWeb.templats_root}?>/images/sboxmore.png"></a></div>
			</div>
			<div class="box740_b">			
					<div id=demo style="overflow: hidden; width: 930px!important;width:926px; color: #ffffff"> 
      <table cellspacing=0 cellpadding=0 align=left border=0 cellspace="0">      
        <tr> 
          <td id=demo1  vAlign=top><table style="width:2525px!important;width:2560px;" height="0"  border="0" cellpadding="0" cellspacing="0"> 
            <tr> 
			<td>
			<?{foreach from=$arrTopqualification item=arrData}?>
				<li>
					<div id="zizhiimg">
					<a href="<?{url url = "/qualification/detail.php?id=`$arrData.id`" cache = "`$arrGWeb.file_static`"}?>"><img class="img" src="<?{if empty($arrData.thumbnail)}?><?{$arrGWeb.templats_root}?>/images/nopic.jpg<?{else}?><?{$qualificationImg}?>b/<?{$arrData.thumbnail}?><?{/if}?>" onload="resizepic(this,150,150)"  alt="<?{$arrData.summary}?>"/></a>
					</div>
					<div id="zizhititle">
					<a href="<?{url url = "/qualification/detail.php?id=`$arrData.id`" cache = "`$arrGWeb.file_static`"}?>" title="<?{$arrData.title}?>"><?{$arrData.title|csubstr:0:10:'...'|bedeck:$arrData.bedeck}?></a>
					</div>
				</li>							
			<?{/foreach}?>
			</td>
            </tr> 
          </table></td> 
          <td id=demo2 vAlign=top> </td></tr></table></div> 
			</div>	
			<div class="clr"></div>
		</div>
		<div class="clr"></div>
</div>

<SCRIPT> 
var speed3=25//速度数值越大速度越慢
var t=false; //判断是向左还是向右
document.getElementById("demo2").innerHTML=document.getElementById("demo1").innerHTML 
function Marquee(){ 
	if(document.getElementById("demo2").offsetWidth-document.getElementById("demo").scrollLeft<=0) 
		document.getElementById("demo").scrollLeft-=document.getElementById("demo1").offsetWidth 
	else{
		document.getElementById("demo").scrollLeft++;
	} 
	t=false; 
} 
function RMarquee(){  
	if(document.getElementById("demo").scrollLeft<=0) 
		document.getElementById("demo").scrollLeft+=document.getElementById("demo2").offsetWidth 
  else{ 
		document.getElementById("demo").scrollLeft-- 
  } 
  t=true; 
} 
function clickdiv(){ 
	clearInterval(MyMar);
	Marquee(); 
	MyMar=setInterval(Marquee,speed3);
} 
function Rclickdiv(){ 
	clearInterval(MyMar);
	RMarquee();
	MyMar=setInterval(RMarquee,speed3);
} 
var MyMar=setInterval(Marquee,speed3) 
document.getElementById("demo").onmouseover=function(){clearInterval(MyMar)} 
document.getElementById("demo").onmouseout=function(){
	if(t){
		RMarquee();
		MyMar=setInterval(RMarquee,speed3)
	}else{
		Marquee(); 
		MyMar=setInterval(Marquee,speed3)
	}
} 

</SCRIPT> 